﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBLayer
{
    public partial class SystemUser
    {
        private const string SYS_ADMIN = "sysadmin";

        public static SystemUser Default(Int16 Rights)
        {
            SystemUser userDefault = new SystemUser();
            userDefault.LoginID = SYS_ADMIN;
            userDefault.Name = SYS_ADMIN;
            userDefault.Description = SYS_ADMIN;
            userDefault.Password = SYS_ADMIN;
            userDefault.Rights = Rights;

            return userDefault;
        }
    }
}
